package com.campus.campus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.campus.campus.job.dto.TimeFeeDTO;
import com.campus.campus.job.entity.UtilityBills;
import com.campus.common.result.Result;

import java.math.BigDecimal;

/**
 * <p>
 * 公用费用表 服务类
 * </p>
 *
 * @author author
 * @since 2024-11-18
 */
public interface IUtilityBillsService extends IService<UtilityBills> {

    Result InsertElectronicFee(BigDecimal fee);

    Result InsertWaterFee(BigDecimal fee);

    void subtratElectronicFee();

    void subtratWaterFee();

    Result getElectricityStatistics(TimeFeeDTO timeFeeDTO);

    Result InsertCampusCard(BigDecimal fee);

    Result getElectricity();

    Result getWaterTotalFee(String type);
}
